package com.a.a.a.a.a.f.c;

import com.taobao.txc.parser.b.a.h;

public class i
  extends c
{
  private final String a;
  private final String b;
  private final boolean c;
  
  public i(String paramString1, String paramString2, boolean paramBoolean)
  {
    this.a = paramString1;
    if (paramString2 == null) {
      throw new IllegalArgumentException("argument string is null!");
    }
    this.b = paramString2;
    this.c = paramBoolean;
  }
  
  public String b()
  {
    return this.a;
  }
  
  public String c()
  {
    return this.b;
  }
  
  public boolean e()
  {
    return this.c;
  }
  
  public String b(boolean paramBoolean)
  {
    return a(this.b, paramBoolean);
  }
  
  public static String b(String paramString)
  {
    return a(paramString, false);
  }
  
  public static String a(String paramString, boolean paramBoolean)
  {
    StringBuilder localStringBuilder = new StringBuilder();
    char[] arrayOfChar = paramString.toCharArray();
    for (int i = 0; i < arrayOfChar.length; i++)
    {
      char c1 = arrayOfChar[i];
      if (c1 == '\\')
      {
        switch (c1 = arrayOfChar[(++i)])
        {
        case '0': 
          localStringBuilder.append('\000');
          break;
        case 'b': 
          localStringBuilder.append('\b');
          break;
        case 'n': 
          localStringBuilder.append('\n');
          break;
        case 'r': 
          localStringBuilder.append('\r');
          break;
        case 't': 
          localStringBuilder.append('\t');
          break;
        case 'Z': 
          localStringBuilder.append('\032');
          break;
        default: 
          localStringBuilder.append(c1);
          break;
        }
      }
      else if (c1 == '\'')
      {
        i++;
        localStringBuilder.append('\'');
      }
      else
      {
        if ((paramBoolean) && (c1 >= 'a') && (c1 <= 'z')) {
          c1 = (char)(c1 - ' ');
        }
        localStringBuilder.append(c1);
      }
    }
    return localStringBuilder.toString();
  }
  
  public void a(h paramh)
  {
    paramh.a(this);
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.a.a.a.a.a.f.c.i
 * JD-Core Version:    0.7.0.1
 */